﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class DiemDanh
    {
        private Guid _id;
        private DateTime _ngayDiemDanh;
        private Guid _studenID = Guid.Empty;
        private Guid _classID = Guid.Empty;
        private bool _comat;
        private Guid _schoolYearID = Guid.Empty;

        public DiemDanh()
        {
        }

        public DiemDanh(  Guid _id,
         DateTime _ngayDiemDanh,
         Guid _studenID,
         Guid _classID,
         bool _comat,
         Guid _schoolYearID)
        {
            Id = _id;
            NgayDiemDanh = _ngayDiemDanh;
            StudenID = _studenID;
            ClassID = _classID;
            Comat = _comat;
            SchoolYearID = _schoolYearID;
        }
        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public DateTime NgayDiemDanh
        {
            get { return _ngayDiemDanh; }
            set { _ngayDiemDanh = value; }
        }

        public Guid StudenID
        {
            get { return _studenID; }
            set { _studenID = value; }
        }

        public Guid ClassID
        {
            get { return _classID; }
            set { _classID = value; }
        }

        public bool Comat
        {
            get { return _comat; }
            set { _comat = value; }
        }

        public Guid SchoolYearID
        {
            get { return _schoolYearID; }
            set { _schoolYearID = value; }
        }
        #endregion
    }
}
